home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12054 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: rcp6.elan.af.mil!rscernix!danpop
  2. Newsgroups: comp.lang.c
  3. Subject: Re: Sending CTRL-C over a serial line?
  4. Message-ID: <danpop.828019108@rscernix>
  5. From: danpop@mail.cern.ch (Dan Pop)
  6. Date: 28 Mar 96 13:18:28 GMT
  7. References: <4ja0hq$91n@news.oscs.montana.edu> <4jc7vhINN7nh@mayne.ugrad.cs.ubc.ca>
  8. Organization: CERN European Lab for Particle Physics
  9. NNTP-Posting-Host: ues5.cern.ch
  10. X-Newsreader: NN version 6.5.0 #7 (NOV)
  11.  
  12. In <4jc7vhINN7nh@mayne.ugrad.cs.ubc.ca> c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku) writes:
  13.  
  14. >In article <4ja0hq$91n@news.oscs.montana.edu>,
  15. > <gko2708@msu.oscs.montana.edu> wrote:
  16. > >Hey,
  17. > >Can anyone tell me how to send a Ctrl-C over a serial line to another PC
  18. > >ad..and then have that PC respond as if it came from its own keyboard?
  19. >
  20. >You run Linux on the remote machine. The terminal driver sends signals to the
  21. >foreground process group of the session associated with that tty, facilitating
  22. >job control.
  23. >
  24. >Oh, you aren't running a PC UNIX? Too bad.
  25.  
  26. Even the brain dead MSDOS allows the redirection of the CON: device to
  27. a COMx port (the CTTY command, if memory serves).  Of course, once you
  28. do this, 95% of the DOS applications stop working properly, because they 
  29. completely bypass MSDOS for screen output and keyboard input :-)
  30.  
  31. Dan, completely off topic :-)
  32. --
  33. Dan Pop
  34. CERN, CN Division
  35. Email: danpop@mail.cern.ch 
  36. Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
  37.